package com.xbongbong.pro.workorder.pojo.dto;/*/*/

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 *
 * @author 魏荣杰
 * @date 2019/3/6 13:52
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class WorkOrderTemplateDetailDTO extends BaseDTO{
    private static final long serialVersionUID = -2825354009245208767L;
    /**
     * 工单模板id
     */
    @NotNull(message = "{dto.msg.workOrderTemplateDetail.id.NotNull}")
    @Range(min = 1L, message = "{dto.msg.workOrderTemplateDetail.id.Range}")
    private Long id;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.workOrderTemplateDetail.appId.NotNull}")
    private Long appId;
}
